﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace WeakReferenceDemo
{
    public struct MyStruct
    {
        public int X { get; set; }

    }

    public class MyClass
    {
        public int X { get; set; }

        public static MyClass operator +(MyClass a, MyClass b)
        {
            return new MyClass { X = a.X + b.X };
        }
    }

}
